package com.itheima.sc.pojo.ums;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;


@TableName( value ="ums_role_resource_relation" )
@NoArgsConstructor
@AllArgsConstructor
@Data
public class UmsRoleResourceRelation  implements Serializable {

	private static final long serialVersionUID =  2222815675941661337L;


	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 角色ID
	 */
   	@TableField( "role_id" )
	private Long roleId;

	/**
	 * 资源ID
	 */
   	@TableField( "resource_id" )
	private Long resourceId;

}
